package day6;

import java.util.Arrays;

/**
 * @Author juzipi
 * @Date 2021/6/9 8:50
 * @Info
 */
public class ArrayDemo {


    public static void main(String[] args) {


        String s = "asdjhb,asjhdbaskjdn,asdasd,asdasdasd";
        System.out.println(s.indexOf(",",1));
        System.out.println(s.replace(",", " "));
        String substring = s.substring(0, s.indexOf(","));
        System.out.println(substring);
        System.out.println(s.substring(substring.length() + 6));
        char i = 0;
        System.out.println(i);
        char[] arr = new char[4];
        if (arr[0] == 0) {
            System.out.println("niasjd");
        }
    }

}
